<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String basePath = request.getContextPath();
%>

<script src="<%=basePath%>/js/igd.page.js" type="text/javascript"></script>

<div class="pageFormContent" layoutH="56">
	<p>
		<label>数据类路径：</label> <input class="required" name="className" id="className" type="text" size="30"  value=""/>
	</p>
	<p>
		<label>页面类型：</label>
		<input type="radio" name="pageType" value="save" checked="checked">数据添加
		<input type="radio" name="pageType" value="update">数据修改
		<input type="radio" name="pageType" value="select">数据查询
	</p>
	<p>
		<label>数据标签：</label> <select name="dataTag" id="dataTag" class="combox">
			<option value="struts">struts</option>
		</select>
	</p>
	<p>
		<label>页面排列方式：</label>
		<input type="radio" name="pageLayout" value="SingleLine" checked="checked">单排排列
	</p>
	<p>
		<label>页面打开方式：</label>
		<input type="radio" name="pageOpenType" value="navTab" checked="checked">导航栏打开
		<input type="radio" name="pageOpenType" value="dialog">模态窗口打开
	</p>
	<p></p>
	<p>
		<dl class="nowrap">
		<div class="button"><div class="buttonContent"><button type="button" class="checkboxCtrl" group="dataField">反选</button></div></div>
		<div class="button"><div class="buttonContent"><button type="button" class="checkboxCtrl" onclick="$.page.getField()">获取字段</button></div></div>
		</dl>
		<div class="divider"></div>
		
		<div class="panel collapse" style="width:700px;" minH="10" defH="150">
			<h1>数据类字段选择</h1>
			<div>
				<table id="fields">
				</table>
			</div>
		</div>
	</p>
	<p></p>
	<p>
		<label>页面内容：</label>
		<div class="divider"></div>
		<textarea id="pageText" cols="160" rows="2" layoutH="300"></textarea>
	</p>
</div>
<div class="formBar">
	<ul>
		<li><div class="buttonActive"><div class="buttonContent"><button type="button" onclick="$.page.createPage()">生成页面</button></div></div></li>
	</ul>
</div>